<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>SDL_gpu: SDL_gpu_OpenGL_1.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SDL_gpu
   &#160;<span id="projectnumber">0.10.0</span>
   </div>
   <div id="projectbrief">A hardware-accelerated, cross-platform 2D graphics API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">SDL_gpu_OpenGL_1.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="SDL__gpu__OpenGL__1_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _SDL_GPU_OPENGL_1_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _SDL_GPU_OPENGL_1_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="SDL__gpu_8h.html">SDL_gpu.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;</div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#if !defined(SDL_GPU_DISABLE_OPENGL) &amp;&amp; !defined(SDL_GPU_DISABLE_OPENGL_1)</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    <span class="comment">// Hacks to fix compile errors due to polluted namespace</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">    #ifdef _WIN32</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">    #define _WINUSER_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">    #define _WINGDI_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">    #endif</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">    #include &quot;glew.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;        </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgr) &amp;&amp; !defined(GL_BGR)</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">                #define GL_BGR GL_BGR_EXT</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_bgra) &amp;&amp; !defined(GL_BGRA)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">                #define GL_BGRA GL_BGRA_EXT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">        #if defined(GL_EXT_abgr) &amp;&amp; !defined(GL_ABGR)</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">                #define GL_ABGR GL_ABGR_EXT</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">        #endif</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;        </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">        #undef glBlendFuncSeparate</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a21f7fd667bd8822adaf1a45cc1c1a116.html#a21f7fd667bd8822adaf1a45cc1c1a116">   27</a></span>&#160;<span class="preprocessor">    #define glBlendFuncSeparate glBlendFuncSeparateEXT</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">        #undef glBlendEquation</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a4dfdb2741135dfe425fe08e76572023c.html#a4dfdb2741135dfe425fe08e76572023c">   29</a></span>&#160;<span class="preprocessor">    #define glBlendEquation glBlendEquationEXT</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">        #undef glBlendEquationSeparate</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_af07e9596f4c8bb748c5e64d1cff6ca35.html#af07e9596f4c8bb748c5e64d1cff6ca35">   31</a></span>&#160;<span class="preprocessor">    #define glBlendEquationSeparate glBlendEquationSeparateEXT</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">        #undef GL_MIRRORED_REPEAT</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a05bc3a1fdd98251d126a8946a10f9dc8.html#a05bc3a1fdd98251d126a8946a10f9dc8">   34</a></span>&#160;<span class="preprocessor">    #define GL_MIRRORED_REPEAT GL_MIRRORED_REPEAT_ARB</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        </div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">        #undef glCreateShader</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">        #undef GL_VERTEX_SHADER</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">        #undef GL_FRAGMENT_SHADER</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">        #undef glShaderSource</span></div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">        #undef glCompileShader</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">        #undef glGetShaderiv</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">        #undef GL_COMPILE_STATUS</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">        #undef glGetShaderInfoLog</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">        #undef glDeleteShader</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">        #undef glActiveTexture</span></div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">        #undef GL_TEXTURE0</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a4d3447ff3caf454bc686968fbe5f04bf.html#a4d3447ff3caf454bc686968fbe5f04bf">   47</a></span>&#160;<span class="preprocessor">        #define glCreateShader glCreateShaderObjectARB</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_aceb29bc16e885f956eb9e351a7dd6276.html#aceb29bc16e885f956eb9e351a7dd6276">   48</a></span>&#160;<span class="preprocessor">        #define GL_VERTEX_SHADER GL_VERTEX_SHADER_ARB</span></div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a1a0294662b50921555cae95fb20740d4.html#a1a0294662b50921555cae95fb20740d4">   49</a></span>&#160;<span class="preprocessor">        #define GL_FRAGMENT_SHADER GL_FRAGMENT_SHADER_ARB</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a369ec108462c247e3028edc9070117a0.html#a369ec108462c247e3028edc9070117a0">   50</a></span>&#160;<span class="preprocessor">        #define glShaderSource glShaderSourceARB</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_acf7a528ef1ef237d2a7676dcb0f22473.html#acf7a528ef1ef237d2a7676dcb0f22473">   51</a></span>&#160;<span class="preprocessor">        #define glCompileShader glCompileShaderARB</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ae7002efbed794728b79205427b3ccc66.html#ae7002efbed794728b79205427b3ccc66">   52</a></span>&#160;<span class="preprocessor">        #define glGetShaderiv glGetObjectParameterivARB</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a8b14cf3c9445c50aabe5c7d21b31d215.html#a8b14cf3c9445c50aabe5c7d21b31d215">   53</a></span>&#160;<span class="preprocessor">        #define GL_COMPILE_STATUS GL_OBJECT_COMPILE_STATUS_ARB</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a3058fd84744eb41e33773ad2b1a8c184.html#a3058fd84744eb41e33773ad2b1a8c184">   54</a></span>&#160;<span class="preprocessor">        #define glGetShaderInfoLog glGetInfoLogARB</span></div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ac012d7614801ed69d643ad388dcfc768.html#ac012d7614801ed69d643ad388dcfc768">   55</a></span>&#160;<span class="preprocessor">        #define glDeleteShader glDeleteObjectARB</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_af15266b67de988f5ddf442bbbdd1b3fc.html#af15266b67de988f5ddf442bbbdd1b3fc">   56</a></span>&#160;<span class="preprocessor">        #define glActiveTexture glActiveTextureARB</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a16cc91096144fc7048b45e2add14915b.html#a16cc91096144fc7048b45e2add14915b">   57</a></span>&#160;<span class="preprocessor">        #define GL_TEXTURE0 GL_TEXTURE0_ARB</span></div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="preprocessor">        #undef glCreateProgram</span></div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="preprocessor">        #undef glAttachShader</span></div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="preprocessor">        #undef glLinkProgram</span></div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="preprocessor">        #undef GL_LINK_STATUS</span></div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="preprocessor">        #undef glGetProgramiv</span></div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">        #undef glGetProgramInfoLog</span></div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;<span class="preprocessor">        #undef glUseProgram</span></div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="preprocessor">        #undef glDeleteProgram</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_acf9d728f2b2be42fbc2fe6dada8bcd2b.html#acf9d728f2b2be42fbc2fe6dada8bcd2b">   67</a></span>&#160;<span class="preprocessor">        #define glCreateProgram glCreateProgramObjectARB</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a0cb06d612b3358bfaadbbefd7c51f1cc.html#a0cb06d612b3358bfaadbbefd7c51f1cc">   68</a></span>&#160;<span class="preprocessor">        #define glAttachShader glAttachObjectARB</span></div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ad241352c6eee6e79f09942ef0771db47.html#ad241352c6eee6e79f09942ef0771db47">   69</a></span>&#160;<span class="preprocessor">        #define glLinkProgram glLinkProgramARB</span></div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ae644ef6b281c9378fa49d9b1ccefaf31.html#ae644ef6b281c9378fa49d9b1ccefaf31">   70</a></span>&#160;<span class="preprocessor">        #define GL_LINK_STATUS GL_OBJECT_LINK_STATUS_ARB</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a511181ed70d9d4cf7463a0ffe39f836d.html#a511181ed70d9d4cf7463a0ffe39f836d">   71</a></span>&#160;<span class="preprocessor">        #define glGetProgramiv glGetObjectParameterivARB</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ad0eeab6a26c94a0b78c04aac628e5ab5.html#ad0eeab6a26c94a0b78c04aac628e5ab5">   72</a></span>&#160;<span class="preprocessor">        #define glGetProgramInfoLog glGetInfoLogARB</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ad8e40c882d63c4671dea2ca2dfcf3046.html#ad8e40c882d63c4671dea2ca2dfcf3046">   73</a></span>&#160;<span class="preprocessor">        #define glUseProgram glUseProgramObjectARB</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a94c0e17529ebff9ddffdf7715b2341cc.html#a94c0e17529ebff9ddffdf7715b2341cc">   74</a></span>&#160;<span class="preprocessor">        #define glDeleteProgram glDeleteObjectARB</span></div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        </div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;<span class="preprocessor">        #undef glGetUniformLocation</span></div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;<span class="preprocessor">        #undef glGetUniformiv</span></div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="preprocessor">        #undef glUniform1i</span></div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="preprocessor">        #undef glUniform1iv</span></div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;<span class="preprocessor">        #undef glUniform2iv</span></div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">        #undef glUniform3iv</span></div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;<span class="preprocessor">        #undef glUniform4iv</span></div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;<span class="preprocessor">        #undef glUniform1f</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;<span class="preprocessor">        #undef glUniform1fv</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">        #undef glUniform2fv</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<span class="preprocessor">        #undef glUniform3fv</span></div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<span class="preprocessor">        #undef glUniform4fv</span></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;<span class="preprocessor">        #undef glUniformMatrix4fv</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a10106e4be90a66213839645cf12770f9.html#a10106e4be90a66213839645cf12770f9">   89</a></span>&#160;<span class="preprocessor">        #define glGetUniformLocation glGetUniformLocationARB</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a3cc195ca15e0f1ce9bb05b9c912b4e60.html#a3cc195ca15e0f1ce9bb05b9c912b4e60">   90</a></span>&#160;<span class="preprocessor">        #define glGetUniformiv glGetUniformivARB</span></div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_abf9380e68d38f458f86a54870846026e.html#abf9380e68d38f458f86a54870846026e">   91</a></span>&#160;<span class="preprocessor">        #define glUniform1i glUniform1iARB</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a7c47f9ffec65859a57a432fb366b9d36.html#a7c47f9ffec65859a57a432fb366b9d36">   92</a></span>&#160;<span class="preprocessor">        #define glUniform1iv glUniform1ivARB</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_af6f6605dcba84d5d873fed44fbc96f96.html#af6f6605dcba84d5d873fed44fbc96f96">   93</a></span>&#160;<span class="preprocessor">        #define glUniform2iv glUniform2ivARB</span></div>
<div class="line"><a name="l00094"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a95762f7dc966f361c756f5e90a957731.html#a95762f7dc966f361c756f5e90a957731">   94</a></span>&#160;<span class="preprocessor">        #define glUniform3iv glUniform3ivARB</span></div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_aaf1ddfef4edd75bda5ff88270ea8b699.html#aaf1ddfef4edd75bda5ff88270ea8b699">   95</a></span>&#160;<span class="preprocessor">        #define glUniform4iv glUniform4ivARB</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a213791d8094088fb4c40d265b7fe7694.html#a213791d8094088fb4c40d265b7fe7694">   96</a></span>&#160;<span class="preprocessor">        #define glUniform1f glUniform1fARB</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a7b834ab4b0d141e408001f708e1395ff.html#a7b834ab4b0d141e408001f708e1395ff">   97</a></span>&#160;<span class="preprocessor">        #define glUniform1fv glUniform1fvARB</span></div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a8f68825b5857a0eab9387a49ba2cae3c.html#a8f68825b5857a0eab9387a49ba2cae3c">   98</a></span>&#160;<span class="preprocessor">        #define glUniform2fv glUniform2fvARB</span></div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a264e119325884947733141031ec9ff68.html#a264e119325884947733141031ec9ff68">   99</a></span>&#160;<span class="preprocessor">        #define glUniform3fv glUniform3fvARB</span></div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a2f24b3425eec94391cbfbb638466c65b.html#a2f24b3425eec94391cbfbb638466c65b">  100</a></span>&#160;<span class="preprocessor">        #define glUniform4fv glUniform4fvARB</span></div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a1cd4c6b9e1fb6b4eb927ab0997de48ef.html#a1cd4c6b9e1fb6b4eb927ab0997de48ef">  101</a></span>&#160;<span class="preprocessor">        #define glUniformMatrix4fv glUniformMatrix4fvARB</span></div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        </div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">        #undef glGetAttribLocation</span></div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;<span class="preprocessor">        #undef glVertexAttrib1f</span></div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="preprocessor">        #undef glVertexAttrib2f</span></div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">        #undef glVertexAttrib3f</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="preprocessor">        #undef glVertexAttrib4f</span></div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;<span class="preprocessor">        #undef glVertexAttribI1i</span></div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;<span class="preprocessor">        #undef glVertexAttribI2i</span></div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;<span class="preprocessor">        #undef glVertexAttribI3i</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;<span class="preprocessor">        #undef glVertexAttribI4i</span></div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;<span class="preprocessor">        #undef glVertexAttribI1ui</span></div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="preprocessor">        #undef glVertexAttribI2ui</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor">        #undef glVertexAttribI3ui</span></div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">        #undef glVertexAttribI4ui</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a20f33502cbda8885498352fcdbf71fe8.html#a20f33502cbda8885498352fcdbf71fe8">  116</a></span>&#160;<span class="preprocessor">        #define glGetAttribLocation glGetAttribLocationARB</span></div>
<div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a9abee4709481e8be0cda7e690a22fc65.html#a9abee4709481e8be0cda7e690a22fc65">  117</a></span>&#160;<span class="preprocessor">        #define glVertexAttrib1f glVertexAttrib1fARB</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a7a318cc8fa2e52fe4239bcdf39dfc2c1.html#a7a318cc8fa2e52fe4239bcdf39dfc2c1">  118</a></span>&#160;<span class="preprocessor">        #define glVertexAttrib2f glVertexAttrib2fARB</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_af1813f0b6f4e75d4178f11bea112b66b.html#af1813f0b6f4e75d4178f11bea112b66b">  119</a></span>&#160;<span class="preprocessor">        #define glVertexAttrib3f glVertexAttrib3fARB</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ab4379f55177e0ac186ffa27f7e218a7f.html#ab4379f55177e0ac186ffa27f7e218a7f">  120</a></span>&#160;<span class="preprocessor">        #define glVertexAttrib4f glVertexAttrib4fARB</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a99e228705056112915f445fe3865b53c.html#a99e228705056112915f445fe3865b53c">  121</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI1i glVertexAttrib1sARB</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ac194683c1a19682351d915d244a47499.html#ac194683c1a19682351d915d244a47499">  122</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI2i glVertexAttrib2sARB</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a417269731fbb483680d4930ee6334240.html#a417269731fbb483680d4930ee6334240">  123</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI3i glVertexAttrib3sARB</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a915a214c99e74dd0af71d93eb6aacfa2.html#a915a214c99e74dd0af71d93eb6aacfa2">  124</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI4i glVertexAttrib4sARB</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ae9650c3322646dada89c6f8d4729f36f.html#ae9650c3322646dada89c6f8d4729f36f">  125</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI1ui glVertexAttrib1sARB</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a53c11296ce705e51a123339117fbd163.html#a53c11296ce705e51a123339117fbd163">  126</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI2ui glVertexAttrib2sARB</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a55510ec365eb8c16faa7aaf1058fab5b.html#a55510ec365eb8c16faa7aaf1058fab5b">  127</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI3ui glVertexAttrib3sARB</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a88e8a836f0d1ffdb20288a04ddd08a2d.html#a88e8a836f0d1ffdb20288a04ddd08a2d">  128</a></span>&#160;<span class="preprocessor">        #define glVertexAttribI4ui glVertexAttrib4sARB</span></div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        </div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="preprocessor">        #undef glGenBuffers</span></div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="preprocessor">        #undef glDeleteBuffers</span></div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<span class="preprocessor">        #undef glBindBuffer</span></div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="preprocessor">        #undef glBufferData</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="preprocessor">        #undef glBufferSubData</span></div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">        #undef GL_ARRAY_BUFFER</span></div>
<div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a1b33d322b89d94ad4938461db0a0424a.html#a1b33d322b89d94ad4938461db0a0424a">  136</a></span>&#160;<span class="preprocessor">        #define glGenBuffers glGenBuffersARB</span></div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a55652a3f087bb13267a5481b6ff1fe19.html#a55652a3f087bb13267a5481b6ff1fe19">  137</a></span>&#160;<span class="preprocessor">        #define glDeleteBuffers glDeleteBuffersARB</span></div>
<div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a3b3a3f8200f094b781e9f61e2f19fc50.html#a3b3a3f8200f094b781e9f61e2f19fc50">  138</a></span>&#160;<span class="preprocessor">        #define glBindBuffer glBindBufferARB</span></div>
<div class="line"><a name="l00139"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a9419a03f5c46e2758f884e9c56d92b6a.html#a9419a03f5c46e2758f884e9c56d92b6a">  139</a></span>&#160;<span class="preprocessor">        #define glBufferData glBufferDataARB</span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ab275ed802ac5db3e6b97973aab9d48e2.html#ab275ed802ac5db3e6b97973aab9d48e2">  140</a></span>&#160;<span class="preprocessor">        #define glBufferSubData glBufferSubDataARB</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a7180045dcb52b22af2cd0366026bc3ed.html#a7180045dcb52b22af2cd0366026bc3ed">  141</a></span>&#160;<span class="preprocessor">        #define GL_ARRAY_BUFFER GL_ARRAY_BUFFER_ARB</span></div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        </div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;        </div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="preprocessor">        #undef glEnableVertexAttribArray</span></div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<span class="preprocessor">        #undef glDisableVertexAttribArray</span></div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="preprocessor">        #undef glVertexAttribPointer</span></div>
<div class="line"><a name="l00147"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a6e8ee482001ee8fb9b3d4851116779b4.html#a6e8ee482001ee8fb9b3d4851116779b4">  147</a></span>&#160;<span class="preprocessor">        #define glEnableVertexAttribArray glEnableVertexAttribArrayARB</span></div>
<div class="line"><a name="l00148"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a0903ee19d8321a1e456bebb54a65ee2a.html#a0903ee19d8321a1e456bebb54a65ee2a">  148</a></span>&#160;<span class="preprocessor">        #define glDisableVertexAttribArray glDisableVertexAttribArrayARB</span></div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a8afadc1fe36886688a02097cc63a17cb.html#a8afadc1fe36886688a02097cc63a17cb">  149</a></span>&#160;<span class="preprocessor">        #define glVertexAttribPointer glVertexAttribPointerARB</span></div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        </div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a1bf6b3961fe68fd88f4193171cd8b562.html#a1bf6b3961fe68fd88f4193171cd8b562">  155</a></span>&#160;<span class="preprocessor">#define GPU_CONTEXT_DATA ContextData_OpenGL_1</span></div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a1d1b62a2205012b1bf4b31be01d035a0.html#a1d1b62a2205012b1bf4b31be01d035a0">  156</a></span>&#160;<span class="preprocessor">#define GPU_IMAGE_DATA ImageData_OpenGL_1</span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_aebe253840844f9b0fd251adc99dbff85.html#aebe253840844f9b0fd251adc99dbff85">  157</a></span>&#160;<span class="preprocessor">#define GPU_TARGET_DATA TargetData_OpenGL_1</span></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a6f074b94e7b792cb90aeae8350699869.html#a6f074b94e7b792cb90aeae8350699869">  162</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="preprocessor">&quot;#version 110\n\</span></div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="preprocessor">attribute vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;<span class="preprocessor">attribute vec2 gpu_TexCoord;\n\</span></div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="preprocessor">attribute vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="preprocessor">varying vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor">        texCoord = vec2(gpu_TexCoord);\n\</span></div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="comment">// Tier 3 uses shader attributes to send position, texcoord, and color data for each vertex.</span></div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a5ca2cd32859512a50e648cf8c574be99.html#a5ca2cd32859512a50e648cf8c574be99">  181</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_VERTEX_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;<span class="preprocessor">&quot;#version 110\n\</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="preprocessor">attribute vec2 gpu_Vertex;\n\</span></div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;<span class="preprocessor">attribute vec4 gpu_Color;\n\</span></div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;<span class="preprocessor">uniform mat4 gpu_ModelViewProjectionMatrix;\n\</span></div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;<span class="preprocessor">        color = gpu_Color;\n\</span></div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;<span class="preprocessor">        gl_Position = gpu_ModelViewProjectionMatrix * vec4(gpu_Vertex, 0.0, 1.0);\n\</span></div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_ab6ac7d1112d6fc0f799e24b6f76ea58d.html#ab6ac7d1112d6fc0f799e24b6f76ea58d">  197</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_TEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;<span class="preprocessor">&quot;#version 110\n\</span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">varying vec2 texCoord;\n\</span></div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor">uniform sampler2D tex;\n\</span></div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;<span class="preprocessor">    gl_FragColor = texture2D(tex, texCoord) * color;\n\</span></div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="SDL__gpu__OpenGL__1_8h_a75d7e5e1cac6abd27d81b61fbdea224b.html#a75d7e5e1cac6abd27d81b61fbdea224b">  210</a></span>&#160;<span class="preprocessor">#define GPU_DEFAULT_UNTEXTURED_FRAGMENT_SHADER_SOURCE \</span></div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;<span class="preprocessor">&quot;#version 110\n\</span></div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;<span class="preprocessor">varying vec4 color;\n\</span></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;<span class="preprocessor">\</span></div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;<span class="preprocessor">void main(void)\n\</span></div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;<span class="preprocessor">{\n\</span></div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;<span class="preprocessor">    gl_FragColor = color;\n\</span></div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;<span class="preprocessor">}&quot;</span></div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;</div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1.html">  224</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structContextData__OpenGL__1.html">ContextData_OpenGL_1</a></div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;{</div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a8efffd5cb7ce9574a1df2a4c70611684.html#a8efffd5cb7ce9574a1df2a4c70611684">  226</a></span>&#160;        SDL_Color <a class="code" href="structContextData__OpenGL__1_a8efffd5cb7ce9574a1df2a4c70611684.html#a8efffd5cb7ce9574a1df2a4c70611684">last_color</a>;</div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_aad7b4af9ef76234abfa2554bbb09112e.html#aad7b4af9ef76234abfa2554bbb09112e">  227</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1_aad7b4af9ef76234abfa2554bbb09112e.html#aad7b4af9ef76234abfa2554bbb09112e">last_use_texturing</a>;</div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a666c2da562693fd6c2da0344207c5eb6.html#a666c2da562693fd6c2da0344207c5eb6">  228</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1_a666c2da562693fd6c2da0344207c5eb6.html#a666c2da562693fd6c2da0344207c5eb6">last_shape</a>;</div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_af7317d2314662ba45ea457bef8301f01.html#af7317d2314662ba45ea457bef8301f01">  229</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1_af7317d2314662ba45ea457bef8301f01.html#af7317d2314662ba45ea457bef8301f01">last_use_blending</a>;</div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a0e469f973360763112f04a9aaabc44db.html#a0e469f973360763112f04a9aaabc44db">  230</a></span>&#160;        <a class="code" href="structGPU__BlendMode.html">GPU_BlendMode</a> <a class="code" href="structContextData__OpenGL__1_a0e469f973360763112f04a9aaabc44db.html#a0e469f973360763112f04a9aaabc44db">last_blend_mode</a>;</div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_ac29925ef21ebfc8af62979c3384c348e.html#ac29925ef21ebfc8af62979c3384c348e">  231</a></span>&#160;        <a class="code" href="structGPU__Rect.html">GPU_Rect</a> <a class="code" href="structContextData__OpenGL__1_ac29925ef21ebfc8af62979c3384c348e.html#ac29925ef21ebfc8af62979c3384c348e">last_viewport</a>;</div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a7a632609b9ac5621c2204747c84ead58.html#a7a632609b9ac5621c2204747c84ead58">  232</a></span>&#160;        <a class="code" href="structGPU__Camera.html">GPU_Camera</a> <a class="code" href="structContextData__OpenGL__1_a7a632609b9ac5621c2204747c84ead58.html#a7a632609b9ac5621c2204747c84ead58">last_camera</a>;</div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a5b7ae84354977e7f74ba7683d4ef8997.html#a5b7ae84354977e7f74ba7683d4ef8997">  233</a></span>&#160;        Uint8 <a class="code" href="structContextData__OpenGL__1_a5b7ae84354977e7f74ba7683d4ef8997.html#a5b7ae84354977e7f74ba7683d4ef8997">last_camera_inverted</a>;</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        </div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a511c0f8de81354d9ae1dd0311860064b.html#a511c0f8de81354d9ae1dd0311860064b">  235</a></span>&#160;        <a class="code" href="structGPU__Image.html">GPU_Image</a>* <a class="code" href="structContextData__OpenGL__1_a511c0f8de81354d9ae1dd0311860064b.html#a511c0f8de81354d9ae1dd0311860064b">last_image</a>;</div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a42167915a52420e89d8590c670136598.html#a42167915a52420e89d8590c670136598">  236</a></span>&#160;        <a class="code" href="structGPU__Target.html">GPU_Target</a>* <a class="code" href="structContextData__OpenGL__1_a42167915a52420e89d8590c670136598.html#a42167915a52420e89d8590c670136598">last_target</a>;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a3d0465439ccfd0d7a68b8852e015efc9.html#a3d0465439ccfd0d7a68b8852e015efc9">  237</a></span>&#160;        <span class="keywordtype">float</span>* <a class="code" href="structContextData__OpenGL__1_a3d0465439ccfd0d7a68b8852e015efc9.html#a3d0465439ccfd0d7a68b8852e015efc9">blit_buffer</a>;  <span class="comment">// Holds sets of 4 vertices and 4 tex coords interleaved (e.g. [x0, y0, z0, s0, t0, ...]).</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a3e9aba1c67fccede0fbe3a529de480f4.html#a3e9aba1c67fccede0fbe3a529de480f4">  238</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__1_a3e9aba1c67fccede0fbe3a529de480f4.html#a3e9aba1c67fccede0fbe3a529de480f4">blit_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_afa79af7d4fa6c6d0536f463d1b1d9e2c.html#afa79af7d4fa6c6d0536f463d1b1d9e2c">  239</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span> <a class="code" href="structContextData__OpenGL__1_afa79af7d4fa6c6d0536f463d1b1d9e2c.html#afa79af7d4fa6c6d0536f463d1b1d9e2c">blit_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_ae2eb23ff7284423464f88bd1925991e7.html#ae2eb23ff7284423464f88bd1925991e7">  240</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">short</span>* <a class="code" href="structContextData__OpenGL__1_ae2eb23ff7284423464f88bd1925991e7.html#ae2eb23ff7284423464f88bd1925991e7">index_buffer</a>;  <span class="comment">// Indexes into the blit buffer so we can use 4 vertices for every 2 triangles (1 quad)</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_ac4fbdd0b7e9517645bf41fb363875bfc.html#ac4fbdd0b7e9517645bf41fb363875bfc">  241</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1_ac4fbdd0b7e9517645bf41fb363875bfc.html#ac4fbdd0b7e9517645bf41fb363875bfc">index_buffer_num_vertices</a>;</div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a1056138b9ac2fdc3470a0e6aca426522.html#a1056138b9ac2fdc3470a0e6aca426522">  242</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1_a1056138b9ac2fdc3470a0e6aca426522.html#a1056138b9ac2fdc3470a0e6aca426522">index_buffer_max_num_vertices</a>;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        </div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;    </div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a55b9f087e0a4d4efb70d557a3b159c0d.html#a55b9f087e0a4d4efb70d557a3b159c0d">  245</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1_a55b9f087e0a4d4efb70d557a3b159c0d.html#a55b9f087e0a4d4efb70d557a3b159c0d">blit_VBO</a>[2];  <span class="comment">// For double-buffering</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a22d2a24c6e3934d61db087f966564b67.html#a22d2a24c6e3934d61db087f966564b67">  246</a></span>&#160;    Uint8 <a class="code" href="structContextData__OpenGL__1_a22d2a24c6e3934d61db087f966564b67.html#a22d2a24c6e3934d61db087f966564b67">blit_VBO_flop</a>;</div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a5a42532356a8366707e2c8655f3d39b5.html#a5a42532356a8366707e2c8655f3d39b5">  247</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__1_a5a42532356a8366707e2c8655f3d39b5.html#a5a42532356a8366707e2c8655f3d39b5">shader_block</a>[2];</div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_ab41141153fd62b4ac99391cce3b84b63.html#ab41141153fd62b4ac99391cce3b84b63">  248</a></span>&#160;    <a class="code" href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a> <a class="code" href="structContextData__OpenGL__1_ab41141153fd62b4ac99391cce3b84b63.html#ab41141153fd62b4ac99391cce3b84b63">current_shader_block</a>;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    </div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_ae12c4cad26dc210dcb73c27959f07c4b.html#ae12c4cad26dc210dcb73c27959f07c4b">  250</a></span>&#160;        <a class="code" href="structGPU__AttributeSource.html">GPU_AttributeSource</a> <a class="code" href="structContextData__OpenGL__1_ae12c4cad26dc210dcb73c27959f07c4b.html#ae12c4cad26dc210dcb73c27959f07c4b">shader_attributes</a>[16];</div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="line" href="structContextData__OpenGL__1_a861a0b24d57d25fda5b57f4b6868b5f6.html#a861a0b24d57d25fda5b57f4b6868b5f6">  251</a></span>&#160;        <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="structContextData__OpenGL__1_a861a0b24d57d25fda5b57f4b6868b5f6.html#a861a0b24d57d25fda5b57f4b6868b5f6">attribute_VBO</a>[16];</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;} <a class="code" href="structContextData__OpenGL__1.html">ContextData_OpenGL_1</a>;</div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;</div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1.html">  254</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structImageData__OpenGL__1.html">ImageData_OpenGL_1</a></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;{</div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1_a440ea16ac9273c8df9e065c25899cf0c.html#a440ea16ac9273c8df9e065c25899cf0c">  256</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structImageData__OpenGL__1_a440ea16ac9273c8df9e065c25899cf0c.html#a440ea16ac9273c8df9e065c25899cf0c">refcount</a>;</div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1_ae2bb730cc20f342089057b1335bedd47.html#ae2bb730cc20f342089057b1335bedd47">  257</a></span>&#160;    Uint8 <a class="code" href="structImageData__OpenGL__1_ae2bb730cc20f342089057b1335bedd47.html#ae2bb730cc20f342089057b1335bedd47">owns_handle</a>;</div>
<div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1_ad364b7f2464d2b766490aa6de23e442c.html#ad364b7f2464d2b766490aa6de23e442c">  258</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__1_ad364b7f2464d2b766490aa6de23e442c.html#ad364b7f2464d2b766490aa6de23e442c">handle</a>;</div>
<div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="structImageData__OpenGL__1_a85a9c947f657ae51cb40c4219495652c.html#a85a9c947f657ae51cb40c4219495652c">  259</a></span>&#160;        Uint32 <a class="code" href="structImageData__OpenGL__1_a85a9c947f657ae51cb40c4219495652c.html#a85a9c947f657ae51cb40c4219495652c">format</a>;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;} <a class="code" href="structImageData__OpenGL__1.html">ImageData_OpenGL_1</a>;</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;</div>
<div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1.html">  262</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structTargetData__OpenGL__1.html">TargetData_OpenGL_1</a></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;{</div>
<div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1_af5fa54c530741bbc43aaedfca743e5b1.html#af5fa54c530741bbc43aaedfca743e5b1">  264</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="structTargetData__OpenGL__1_af5fa54c530741bbc43aaedfca743e5b1.html#af5fa54c530741bbc43aaedfca743e5b1">refcount</a>;</div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1_a5b3c5f88ce6eb2267babe058ed68f31d.html#a5b3c5f88ce6eb2267babe058ed68f31d">  265</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__1_a5b3c5f88ce6eb2267babe058ed68f31d.html#a5b3c5f88ce6eb2267babe058ed68f31d">handle</a>;</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="structTargetData__OpenGL__1_afeedf37fc0dda670e88b8fbb000224db.html#afeedf37fc0dda670e88b8fbb000224db">  266</a></span>&#160;        Uint32 <a class="code" href="structTargetData__OpenGL__1_afeedf37fc0dda670e88b8fbb000224db.html#afeedf37fc0dda670e88b8fbb000224db">format</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;} <a class="code" href="structTargetData__OpenGL__1.html">TargetData_OpenGL_1</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="ttc" id="structContextData__OpenGL__1_afa79af7d4fa6c6d0536f463d1b1d9e2c_html_afa79af7d4fa6c6d0536f463d1b1d9e2c"><div class="ttname"><a href="structContextData__OpenGL__1_afa79af7d4fa6c6d0536f463d1b1d9e2c.html#afa79af7d4fa6c6d0536f463d1b1d9e2c">ContextData_OpenGL_1::blit_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:239</div></div>
<div class="ttc" id="structGPU__AttributeSource_html"><div class="ttname"><a href="structGPU__AttributeSource.html">GPU_AttributeSource</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:495</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a42167915a52420e89d8590c670136598_html_a42167915a52420e89d8590c670136598"><div class="ttname"><a href="structContextData__OpenGL__1_a42167915a52420e89d8590c670136598.html#a42167915a52420e89d8590c670136598">ContextData_OpenGL_1::last_target</a></div><div class="ttdeci">GPU_Target * last_target</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:236</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a22d2a24c6e3934d61db087f966564b67_html_a22d2a24c6e3934d61db087f966564b67"><div class="ttname"><a href="structContextData__OpenGL__1_a22d2a24c6e3934d61db087f966564b67.html#a22d2a24c6e3934d61db087f966564b67">ContextData_OpenGL_1::blit_VBO_flop</a></div><div class="ttdeci">Uint8 blit_VBO_flop</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:246</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a1056138b9ac2fdc3470a0e6aca426522_html_a1056138b9ac2fdc3470a0e6aca426522"><div class="ttname"><a href="structContextData__OpenGL__1_a1056138b9ac2fdc3470a0e6aca426522.html#a1056138b9ac2fdc3470a0e6aca426522">ContextData_OpenGL_1::index_buffer_max_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_max_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:242</div></div>
<div class="ttc" id="structGPU__Camera_html"><div class="ttname"><a href="structGPU__Camera.html">GPU_Camera</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:253</div></div>
<div class="ttc" id="structImageData__OpenGL__1_html"><div class="ttname"><a href="structImageData__OpenGL__1.html">ImageData_OpenGL_1</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:254</div></div>
<div class="ttc" id="structContextData__OpenGL__1_ac29925ef21ebfc8af62979c3384c348e_html_ac29925ef21ebfc8af62979c3384c348e"><div class="ttname"><a href="structContextData__OpenGL__1_ac29925ef21ebfc8af62979c3384c348e.html#ac29925ef21ebfc8af62979c3384c348e">ContextData_OpenGL_1::last_viewport</a></div><div class="ttdeci">GPU_Rect last_viewport</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:231</div></div>
<div class="ttc" id="structTargetData__OpenGL__1_a5b3c5f88ce6eb2267babe058ed68f31d_html_a5b3c5f88ce6eb2267babe058ed68f31d"><div class="ttname"><a href="structTargetData__OpenGL__1_a5b3c5f88ce6eb2267babe058ed68f31d.html#a5b3c5f88ce6eb2267babe058ed68f31d">TargetData_OpenGL_1::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:265</div></div>
<div class="ttc" id="structContextData__OpenGL__1_html"><div class="ttname"><a href="structContextData__OpenGL__1.html">ContextData_OpenGL_1</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:224</div></div>
<div class="ttc" id="structGPU__ShaderBlock_html"><div class="ttname"><a href="structGPU__ShaderBlock.html">GPU_ShaderBlock</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:266</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a861a0b24d57d25fda5b57f4b6868b5f6_html_a861a0b24d57d25fda5b57f4b6868b5f6"><div class="ttname"><a href="structContextData__OpenGL__1_a861a0b24d57d25fda5b57f4b6868b5f6.html#a861a0b24d57d25fda5b57f4b6868b5f6">ContextData_OpenGL_1::attribute_VBO</a></div><div class="ttdeci">unsigned int attribute_VBO[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:251</div></div>
<div class="ttc" id="structImageData__OpenGL__1_ad364b7f2464d2b766490aa6de23e442c_html_ad364b7f2464d2b766490aa6de23e442c"><div class="ttname"><a href="structImageData__OpenGL__1_ad364b7f2464d2b766490aa6de23e442c.html#ad364b7f2464d2b766490aa6de23e442c">ImageData_OpenGL_1::handle</a></div><div class="ttdeci">Uint32 handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:258</div></div>
<div class="ttc" id="SDL__gpu_8h_html"><div class="ttname"><a href="SDL__gpu_8h.html">SDL_gpu.h</a></div></div>
<div class="ttc" id="structTargetData__OpenGL__1_af5fa54c530741bbc43aaedfca743e5b1_html_af5fa54c530741bbc43aaedfca743e5b1"><div class="ttname"><a href="structTargetData__OpenGL__1_af5fa54c530741bbc43aaedfca743e5b1.html#af5fa54c530741bbc43aaedfca743e5b1">TargetData_OpenGL_1::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:264</div></div>
<div class="ttc" id="structTargetData__OpenGL__1_afeedf37fc0dda670e88b8fbb000224db_html_afeedf37fc0dda670e88b8fbb000224db"><div class="ttname"><a href="structTargetData__OpenGL__1_afeedf37fc0dda670e88b8fbb000224db.html#afeedf37fc0dda670e88b8fbb000224db">TargetData_OpenGL_1::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:266</div></div>
<div class="ttc" id="structTargetData__OpenGL__1_html"><div class="ttname"><a href="structTargetData__OpenGL__1.html">TargetData_OpenGL_1</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:262</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a55b9f087e0a4d4efb70d557a3b159c0d_html_a55b9f087e0a4d4efb70d557a3b159c0d"><div class="ttname"><a href="structContextData__OpenGL__1_a55b9f087e0a4d4efb70d557a3b159c0d.html#a55b9f087e0a4d4efb70d557a3b159c0d">ContextData_OpenGL_1::blit_VBO</a></div><div class="ttdeci">unsigned int blit_VBO[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:245</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a5a42532356a8366707e2c8655f3d39b5_html_a5a42532356a8366707e2c8655f3d39b5"><div class="ttname"><a href="structContextData__OpenGL__1_a5a42532356a8366707e2c8655f3d39b5.html#a5a42532356a8366707e2c8655f3d39b5">ContextData_OpenGL_1::shader_block</a></div><div class="ttdeci">GPU_ShaderBlock shader_block[2]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:247</div></div>
<div class="ttc" id="structContextData__OpenGL__1_aad7b4af9ef76234abfa2554bbb09112e_html_aad7b4af9ef76234abfa2554bbb09112e"><div class="ttname"><a href="structContextData__OpenGL__1_aad7b4af9ef76234abfa2554bbb09112e.html#aad7b4af9ef76234abfa2554bbb09112e">ContextData_OpenGL_1::last_use_texturing</a></div><div class="ttdeci">Uint8 last_use_texturing</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:227</div></div>
<div class="ttc" id="structContextData__OpenGL__1_ab41141153fd62b4ac99391cce3b84b63_html_ab41141153fd62b4ac99391cce3b84b63"><div class="ttname"><a href="structContextData__OpenGL__1_ab41141153fd62b4ac99391cce3b84b63.html#ab41141153fd62b4ac99391cce3b84b63">ContextData_OpenGL_1::current_shader_block</a></div><div class="ttdeci">GPU_ShaderBlock current_shader_block</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:248</div></div>
<div class="ttc" id="structContextData__OpenGL__1_ae2eb23ff7284423464f88bd1925991e7_html_ae2eb23ff7284423464f88bd1925991e7"><div class="ttname"><a href="structContextData__OpenGL__1_ae2eb23ff7284423464f88bd1925991e7.html#ae2eb23ff7284423464f88bd1925991e7">ContextData_OpenGL_1::index_buffer</a></div><div class="ttdeci">unsigned short * index_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:240</div></div>
<div class="ttc" id="structImageData__OpenGL__1_a440ea16ac9273c8df9e065c25899cf0c_html_a440ea16ac9273c8df9e065c25899cf0c"><div class="ttname"><a href="structImageData__OpenGL__1_a440ea16ac9273c8df9e065c25899cf0c.html#a440ea16ac9273c8df9e065c25899cf0c">ImageData_OpenGL_1::refcount</a></div><div class="ttdeci">int refcount</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:256</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a7a632609b9ac5621c2204747c84ead58_html_a7a632609b9ac5621c2204747c84ead58"><div class="ttname"><a href="structContextData__OpenGL__1_a7a632609b9ac5621c2204747c84ead58.html#a7a632609b9ac5621c2204747c84ead58">ContextData_OpenGL_1::last_camera</a></div><div class="ttdeci">GPU_Camera last_camera</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:232</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a0e469f973360763112f04a9aaabc44db_html_a0e469f973360763112f04a9aaabc44db"><div class="ttname"><a href="structContextData__OpenGL__1_a0e469f973360763112f04a9aaabc44db.html#a0e469f973360763112f04a9aaabc44db">ContextData_OpenGL_1::last_blend_mode</a></div><div class="ttdeci">GPU_BlendMode last_blend_mode</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:230</div></div>
<div class="ttc" id="structGPU__BlendMode_html"><div class="ttname"><a href="structGPU__BlendMode.html">GPU_BlendMode</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:133</div></div>
<div class="ttc" id="structImageData__OpenGL__1_ae2bb730cc20f342089057b1335bedd47_html_ae2bb730cc20f342089057b1335bedd47"><div class="ttname"><a href="structImageData__OpenGL__1_ae2bb730cc20f342089057b1335bedd47.html#ae2bb730cc20f342089057b1335bedd47">ImageData_OpenGL_1::owns_handle</a></div><div class="ttdeci">Uint8 owns_handle</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:257</div></div>
<div class="ttc" id="structContextData__OpenGL__1_af7317d2314662ba45ea457bef8301f01_html_af7317d2314662ba45ea457bef8301f01"><div class="ttname"><a href="structContextData__OpenGL__1_af7317d2314662ba45ea457bef8301f01.html#af7317d2314662ba45ea457bef8301f01">ContextData_OpenGL_1::last_use_blending</a></div><div class="ttdeci">Uint8 last_use_blending</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:229</div></div>
<div class="ttc" id="structGPU__Target_html"><div class="ttname"><a href="structGPU__Target.html">GPU_Target</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:343</div></div>
<div class="ttc" id="structImageData__OpenGL__1_a85a9c947f657ae51cb40c4219495652c_html_a85a9c947f657ae51cb40c4219495652c"><div class="ttname"><a href="structImageData__OpenGL__1_a85a9c947f657ae51cb40c4219495652c.html#a85a9c947f657ae51cb40c4219495652c">ImageData_OpenGL_1::format</a></div><div class="ttdeci">Uint32 format</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:259</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a666c2da562693fd6c2da0344207c5eb6_html_a666c2da562693fd6c2da0344207c5eb6"><div class="ttname"><a href="structContextData__OpenGL__1_a666c2da562693fd6c2da0344207c5eb6.html#a666c2da562693fd6c2da0344207c5eb6">ContextData_OpenGL_1::last_shape</a></div><div class="ttdeci">unsigned int last_shape</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:228</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a8efffd5cb7ce9574a1df2a4c70611684_html_a8efffd5cb7ce9574a1df2a4c70611684"><div class="ttname"><a href="structContextData__OpenGL__1_a8efffd5cb7ce9574a1df2a4c70611684.html#a8efffd5cb7ce9574a1df2a4c70611684">ContextData_OpenGL_1::last_color</a></div><div class="ttdeci">SDL_Color last_color</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:226</div></div>
<div class="ttc" id="structGPU__Image_html"><div class="ttname"><a href="structGPU__Image.html">GPU_Image</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:222</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a3e9aba1c67fccede0fbe3a529de480f4_html_a3e9aba1c67fccede0fbe3a529de480f4"><div class="ttname"><a href="structContextData__OpenGL__1_a3e9aba1c67fccede0fbe3a529de480f4.html#a3e9aba1c67fccede0fbe3a529de480f4">ContextData_OpenGL_1::blit_buffer_num_vertices</a></div><div class="ttdeci">unsigned short blit_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:238</div></div>
<div class="ttc" id="structContextData__OpenGL__1_ae12c4cad26dc210dcb73c27959f07c4b_html_ae12c4cad26dc210dcb73c27959f07c4b"><div class="ttname"><a href="structContextData__OpenGL__1_ae12c4cad26dc210dcb73c27959f07c4b.html#ae12c4cad26dc210dcb73c27959f07c4b">ContextData_OpenGL_1::shader_attributes</a></div><div class="ttdeci">GPU_AttributeSource shader_attributes[16]</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:250</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a3d0465439ccfd0d7a68b8852e015efc9_html_a3d0465439ccfd0d7a68b8852e015efc9"><div class="ttname"><a href="structContextData__OpenGL__1_a3d0465439ccfd0d7a68b8852e015efc9.html#a3d0465439ccfd0d7a68b8852e015efc9">ContextData_OpenGL_1::blit_buffer</a></div><div class="ttdeci">float * blit_buffer</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:237</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a511c0f8de81354d9ae1dd0311860064b_html_a511c0f8de81354d9ae1dd0311860064b"><div class="ttname"><a href="structContextData__OpenGL__1_a511c0f8de81354d9ae1dd0311860064b.html#a511c0f8de81354d9ae1dd0311860064b">ContextData_OpenGL_1::last_image</a></div><div class="ttdeci">GPU_Image * last_image</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:235</div></div>
<div class="ttc" id="structGPU__Rect_html"><div class="ttname"><a href="structGPU__Rect.html">GPU_Rect</a></div><div class="ttdef"><b>Definition:</b> SDL_gpu.h:61</div></div>
<div class="ttc" id="structContextData__OpenGL__1_ac4fbdd0b7e9517645bf41fb363875bfc_html_ac4fbdd0b7e9517645bf41fb363875bfc"><div class="ttname"><a href="structContextData__OpenGL__1_ac4fbdd0b7e9517645bf41fb363875bfc.html#ac4fbdd0b7e9517645bf41fb363875bfc">ContextData_OpenGL_1::index_buffer_num_vertices</a></div><div class="ttdeci">unsigned int index_buffer_num_vertices</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:241</div></div>
<div class="ttc" id="structContextData__OpenGL__1_a5b7ae84354977e7f74ba7683d4ef8997_html_a5b7ae84354977e7f74ba7683d4ef8997"><div class="ttname"><a href="structContextData__OpenGL__1_a5b7ae84354977e7f74ba7683d4ef8997.html#a5b7ae84354977e7f74ba7683d4ef8997">ContextData_OpenGL_1::last_camera_inverted</a></div><div class="ttdeci">Uint8 last_camera_inverted</div><div class="ttdef"><b>Definition:</b> SDL_gpu_OpenGL_1.h:233</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Feb 11 2015 20:10:37 for SDL_gpu by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
